export default {
    myVar1: [],
    myVar2: {},
    myFun1: async () => {
        let params = appsmith.URL.queryParams
        let cityId = params["cityId"]
        let userId = params["userId"]
        if (userId === null || userId === undefined) {
            Table1.setVisibility(false)  
            select.setDisabled(true)  
            // output.setDisabled(true)
            return;
        }
        storeValue("cityId", cityId)
        storeValue("userId", atob(userId))
        var response = await getCityInfo.run()
				response = response[0].name
        if(response === "广州佛山"){
            response = "广佛"
        }
        city.setSelectedOption(response)
        Aggre.run({city_name: response})
        base_table.run({city_name: response})
    }
}
